﻿using MediatR;
using MyMES.Domain.W.Liststructure;
using MyMES.Error;

namespace MyMES.Writer.API.Application.Commends.W.realize
{
    public class AddProductionReportCommands:IRequest<APIResult<ProductionReport>>
    {
        public int ProductionReportId { get; set; }

        /// <summary>
        /// 报工类型
        /// </summary>
        public int ReportTypeId { get; set; }

        /// <summary>
        /// 工作站
        /// </summary>
        public string WorkStation { get; set; }

        /// <summary>
        /// 生产工单编号
        /// </summary>
        public string ProductionId { get; set; }

        /// <summary>
        /// 产品物料编码
        /// </summary>
        public string ProductMaterialCode { get; set; }

        /// <summary>
        /// 产品物料名称
        /// </summary>
        public string ProductMaterialName { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string SpecificationModel { get; set; }

        /// <summary>
        /// 报工数量
        /// </summary>
        public int QuantityReported { get; set; }

        /// <summary>
        /// 报工人
        /// </summary>
        public string Caller { get; set; }

        /// <summary>
        /// 报工时间
        /// </summary>
        public DateTime CallTime { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public string Auditor { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 生产工单
        /// </summary>
        public int ProductionWorkOrder { get; set; }

        /// <summary>
        /// 生产任务编号
        /// </summary>
        public string ProductionTaskNumber { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
